﻿// -----------------------------------------------------------------------------
// ABC 是 .NET 5 平台下开发管理的系统。
// Copyright © 2021 ABC,  Co.,Ltd.
//
// 框架：基于 Furion的后台框架：ABC.Admin
// -----------------------------------------------------------------------------

using Microsoft.EntityFrameworkCore;

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Tool;

namespace Abc.Core.Entities
{
    /// <summary>
    /// 插件
    /// </summary>
    [Table("Plugs")]
    public class Plugs : FullEntity
    {
        /// <summary>
        /// 插件名称
        /// </summary>
        [Comment("插件名称")]
        public string AssemblyFullName { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        [Comment("是否启用")]
        public bool IsEnable { get; set; }
        /// <summary>
        /// 过期时间
        /// </summary>
        [Comment("过期时间")]
        public DateTimeOffset? ExpireTime { get; set; }
    }
}
